package game.view.screen 
{
	import starling.core.Starling;
	import starling.display.Sprite;
	import starling.text.TextField;
	
	/**
	 * ...
	 * @author Thot
	 */
	
	public class MenuScreen extends Sprite
	{
		private var _starling:Starling;
		private var _gold:TextField;
		private var _gems:TextField;
		private var _mana:TextField;
		
		public function MenuScreen() 
		{
		}
		
		public function init():void
		{
			_mana = new TextField( 100, 30, "" );
			_gold = new TextField( 100, 30, "" );
			_gems = new TextField( 100, 30, "" );
			
			_mana.y = _gold.y = _gems.y = 10;
			_mana.x = 10; _gold.x = 110; _gems.x = 210;
			
			addChild( _gold );
			addChild( _gems );
			addChild( _mana );
		}
		
		public function updateStatus( p_gold:int, p_mana:int, p_gems:int ):void 
		{
			_gold.text = "gold: " + p_gold.toString();
			_mana.text = "mana: " + p_mana.toString();
			_gems.text = "gems: " + p_gems.toString();
		}
		
	}

}